package com.yang.designmode.singleton;

public class HungrySingletonTest {
    public static void main(String[] args) {
        HungrySingleton instance_0 = HungrySingleton.getInstance();
        HungrySingleton instance_1 = HungrySingleton.getInstance();
        System.out.println(instance_0);
        System.out.println(instance_1);
        System.out.println(instance_0==instance_1);
    }
}
